

package com.zdkj.subway.stm.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zdkj.subway.stm.dto.out.SwStRecoveryDTO;
import com.zdkj.subway.stm.entity.SwStRecovery;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 车票回收
 *
 * @author Gofe
 * @date 2020-02-03 14:25:46
 */
public interface SwStRecoveryMapper extends BaseMapper<SwStRecovery> {
    /**
     * 自定义分页查询
     *
     * @param page
     * @param query
     * @return
     */
    IPage<SwStRecoveryDTO> pageSelect(IPage page, @Param(Constants.WRAPPER) Wrapper query);

    List<SwStRecovery> queryExport(@Param("ids") List<Integer> ids,@Param("param") Map<String,String> params);
}
